package com.deer.wms.base.system.service.bill.impl;

import com.deer.wms.base.system.dao.bill.BillInSelectMapper;
import com.deer.wms.base.system.model.bill.BillInSelect;
import com.deer.wms.base.system.model.bill.BillInSelectCriteria;
import com.deer.wms.base.system.model.zh.ElectricBoxDetail;
import com.deer.wms.base.system.service.bill.BillInSelectService;
import com.deer.wms.common.core.service.AbstractService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author 李帅辰
 * @date 2021/7/29 18:22
 */
@Service
public class BillInSelectServiceImpl extends AbstractService<BillInSelect, Integer> implements BillInSelectService {

    @Autowired
    private BillInSelectMapper billInSelectMapper;
    @Override
    public int saveBillInSelect(BillInSelect billInSelect) {
        return billInSelectMapper.saveBillInSelect(billInSelect);
    }

    @Override
    public List<BillInSelect> findBillInSelectList(BillInSelectCriteria billInSelectCriteria) {
        return billInSelectMapper.findBillInSelectList(billInSelectCriteria);
    }

    @Override
    public BillInSelect findBillInSelect(ElectricBoxDetail electricBoxDetail) {
        return billInSelectMapper.findBillInSelect(electricBoxDetail);
    }
}
